package edu.ynu.se.xiecheng.achitectureclass.entity;

import lombok.Getter;

@Getter
public enum EquipmentType {
    SOIL_TEMPERATURE("327061375295689614", "土壤温度", "℃"),
    SOIL_NITROGEN("327061375295689607", "土壤氮含量", "mg/kg"),
    SOIL_PHOSPHORUS("327061375295689608", "土壤磷含量", "mg/kg"),
    SOIL_POTASSIUM("327061375295689609", "土壤钾含量", "mg/kg"),
    AIR_TEMPERATURE("327061375295689611", "空气温度", "℃"),
    CO2("327061375295689610", "二氧化碳", "ppm"),
    CAMERA("CAMERA_001", "监控摄像头", null);

    private final String equipmentSerial;
    private final String displayName;
    private final String unit;

    EquipmentType(String equipmentSerial, String displayName, String unit) {
        this.equipmentSerial = equipmentSerial;
        this.displayName = displayName;
        this.unit = unit;
    }
}